package com.javastudy.forum.service;

import com.javastudy.forum.model.Message;

import java.util.List;

/**
 * @author Chooker
 * @create 2023-08-24 11:09
 */
public interface IMessageService {

    void create(Message message);

    Long selectUnreadCount(Long userId);

    List<Message> selectByReceiveUserId(Long id);

    void updateStateById(Long id,Byte state);

    Message selectById(Long id);

    void reply(Long repliedId, Message message);


}
